<style>
.fui-cell-group .fui-cell .fui-input {
   background-color: #f2f2f2;
   height: auto;
   line-height: 1.6;
   padding:0.3rem 0.5rem;
   border-radius: 1rem;
}
.fui-buys-info .avatar{
	width:2rem;
	height:2rem;
	border:1px solid #efefef;
	border-radius: 50%;
}
button.weui_btn, input.weui_btn {border-radius: 1rem;margin: auto;margin-top:0.5rem;width:80%;}
</style>
<div class='fui-page fui-page-current'>
	<div class='fui-content'>
			<div style="padding:0.5rem;">
			<div class="fui-tab-scroll" style="margin-top:0.4rem;padding-left:0.5rem">
				<div ng-class="{'item':1,'on':pagedata.params.isnomy!=1}" style="height:2rem;line-height:2rem"><a href="javascript:;" ng-click="pagedata.params.isnomy=0;tool.get_list('jy_ailiao/member.myworker/getlist/',true);">我的红娘</a></div>
				<div ng-class="{'item':1,'on':pagedata.params.isnomy==1}" style="height:2rem;line-height:2rem"><a href="javascript:;" ng-click="pagedata.params.isnomy=1;tool.get_list('jy_ailiao/member.myworker/getlist/',true);">其他红娘</a></div>
			</div>
			<div ng-repeat="item in pagedata.list" class="fui-cell-group radius">
			<div class="fui-cell">
				<div class="fui-cell-label" style="width:3.5rem">
					<img class="round" style="width:3rem;height:3rem;border-radius:3rem" ng-src="{{tomedia(item.logo) || '../core/resource/images/gw-user.png'}}">
				</div>
				<div class="fui-cell-text" style="margin-top:0.16rem">
					<div class="title" style="font-size:0.76rem">
						<span class="bold" style="font-size:0.8rem;width:auto;margin-right:0.2rem">{{item.title}}</span>
					</div>
					<div class="subtitle" style="font-size:0.65rem">
						{{item.fuwutitle || '无'}}
					</div>
				</div>
				<div class="fui-cellone-remark noremark">
					<a ng-if="pagedata.params.isnomy!=1" href="tel:{{item.mobile}}" class="jylabel jylabel-success" style="padding:0.3rem 0.6rem;border-radius:1rem;font-weight:400">
						<i class="icon icon-phone"></i>
						打电话
					</a>
					<a ng-if="pagedata.params.isnomy==1" href="javascript:;" ng-click="access_json('jy_ailiao/memberitem//fworker=1&mid='+item.mid)" class="jylabel jylabel-success" style="padding:0.3rem 0.6rem;border-radius:1rem;font-weight:400">
						访问
					</a>
				</div>
			</div>
			<div class="fui-cell" style="">
				<span class="fui-buys-info">
					<img ng-repeat="m in item.members" class="avatar" style="width:2rem;height:2rem;margin-right:-0.6rem" ng-src="{{tomedia(m.avatar) || '../core/resource/images/nopic.jpg'}}">
				</span>
			</div>
			</div>
			</div>
			<div ng-if="!pagedata.list|| pagedata.list.length==0" class='content-empty' style="margin-top:0">
					<i class='icon icon-wentifankui'></i>
					<div>暂时没有绑定红娘</div>
			</div>
</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.pagedata.openLocation=function(item){
	wx.openLocation({
	latitude: item.lat_lng.lat, // 纬度，浮点数，范围为90 ~ -90
	longitude: item.lat_lng.lng, // 经度，浮点数，范围为180 ~ -180。
		name: item.pcd.province+item.pcd.city+item.pcd.district, // 位置名
		address: item.address, // 地址详情说明
		scale: 20, // 地图缩放级别,整形值,范围从1~28。默认为最大
		infoUrl: '', // 在查看位置界面底部显示的超链接,可点击跳转
		success:function(){
			//alert(1111);
		}
	});
}
scope.tool.get_list('jy_ailiao/member.myworker/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_ailiao/member.myworker/getlist/');
}
</script>